package day230516;

import java.util.Scanner;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/5/16 13:42
 * 驼峰命名法
 */
public class Main02 {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while (scan.hasNext()) {
            char[] variableName = scan.nextLine().toCharArray();
            for (int i = 0; i < variableName.length; i++) {
                if (variableName[i] == '_') {
                    // 如果是下划线, 则直接跳过
                    continue;
                }
                if (i - 1 >= 0 && variableName[i-1] == '_') {
                    System.out.print((char) (variableName[i]^32)); // 转化大写并输出
                } else {
                    System.out.print(variableName[i]);
                }
            }
            System.out.println();
        }
        scan.close();
    }
}
